package com.example.his.api.front.controller.form.order;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class CreatePaymentForm {
  
  @NotNull(message = "goodsId不能为空")
  @Min(value = 1, message = "goodsId不能小于1")
  private Integer goodsId;
  
  @NotNull(message = "number不能为空")
  @Min(value = 1, message = "number不能小于1")
  private Integer number;
}
